﻿using System;
using Castle.ActiveRecord;

namespace FileManager_Server.DataLayer.Castle_Model
{
    [ActiveRecord("DEPARTMENT")]
    public class DepartmentDbModel : ActiveRecordBase<DepartmentDbModel>
    {
        [PrimaryKey(PrimaryKeyType.Native)]
        public string DEPARTID { get; set; }

        [Property]
        public string PID { get; set; }

        [Property]
        public string DEPARTNAME { get; set; }

        [Property]
        public string DEPARTSN { get; set; }

        [Property]
        public string DEPARTDESC { get; set; }

        [Property]
        public string DEPARTADDRESS { get; set; }

        [Property]
        public string DEPARTPHONE { get; set; }

        [Property]
        public string ADMINID { get; set; }

        [Property]
        public string DEPAREMPLOYEEID { get; set; }

        [Property]
        public DateTime CREATDATE { get; set; }

        [Property]
        public string INFO { get; set; }

        [Property]
        public string DEPARTALIAS { get; set; }

        [Property]
        public string STATUS { get; set; }

        [Property]
        public DateTime BEGINDATE { get; set; }

        [Property]
        public DateTime ENDDATE { get; set; }

        [Property]
        public string DIRECTOR { get; set; }

        [Property]
        public string SNUMBER_DEPT { get; set; }

        [Property]
        public string ISDESKTOP { get; set; }

    }
}